<?php

    //require_once('class.ADODB_XML.php');

    $adodbXML = new ADODB_XML("1.0", "ISO-8859-1");
    $adodbXML->ConvertToXML(&$objConnection, "SELECT * FROM siapu_ferramenta", "siapu_ferramenta");

    $adodbXML->ConvertToXML(&$objConnection, "SELECT * FROM siapu_maquina", "siapu_maquina.xml");
    $adodbXML->ConvertToXML(&$objConnection, "SELECT * FROM siapu_operacao", "siapu_operacao.xml");
    $adodbXML->ConvertToXML(&$objConnection, "SELECT * FROM siapu_peca", "siapu_peca.xml");
    $adodbXML->ConvertToXML(&$objConnection, "SELECT * FROM siapu_processo", "siapu_processo.xml");
    $adodbXML->ConvertToXML(&$objConnection, "SELECT * FROM siapu_otimizacao", "siapu_otimizacao.xml");

?>
